<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据库管理</title>
    <link rel="stylesheet" href="./styles.css">
</head>
<body>
    <div class="container">
        <h1>选择要管理的表格</h1>
        <select id="tableSelect">
            <option value="students">学生表</option>
            <option value="teachers">教师表</option>
            <option value="departments">专业学院表</option>
            <option value="courses">课程表</option>
            <option value="admins">管理员表</option>
        </select>
        <button onclick="navigateToTable()">确认</button>
    </div>

    <script>
        function navigateToTable() {
            const table = document.getElementById('tableSelect').value;
            window.location.href = './' +table + '.html';
        }
    </script>
</body>
</html>
